import React, { Component } from 'react';
import { StyleSheet, Text, View, Button, Platform } from 'react-native';
import { StackNavigator, TabNavigator } from 'react-navigation';


export default class Products extends Component {
    render() {
        const {navigate} = this.props.navigation;

        return (
            <View>
                <Text>产品</Text>
                <Button
                    onPress={() => navigate('CohoLight', { name: 'Brent' })}
                    title="Go to Brent's profile"
                />
            </View>
        );
    }
}